package com.maxlen.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maxlen.admin.entity.RolePermission;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2022-10-11
 */
public interface IRolePermissionService extends IService<RolePermission> {

    void addByPermissionIdList(Long roleId, List<Long> permissionId);

    void removeByRoleId(Long id);

    void removeByPermissionId(Long id);

    void removeByPermissionIdRoleId(Long roleId, Long permissionId);
}
